package com.lz.c;

/**
 * @ClassName Demo24
 * @Description 打印100以内除了尾数为3, 5, 7的所有数
 * @Author 2214361854
 * @Date 2022/5/27 10:41
 * @Version 1.0
 */
public class Demo24 {
    public static void main(String[] args) {
        for (int i = 1; i <= 100; i++) {
            int y = i % 10;
            if (y == 3 || y == 5 || y == 7) {
                continue;
            }
            System.out.println(i);
        }
    }
}
